package com.yanlight.app.dal.entity;

public class AwardItem {

    private Integer id;

    private String name;

    private String color;

    //获奖概率
    private double prob;

    private Double amount;

    //类型  0 谢谢参与  1 现金转账（一元以下）  2 现金红包  3 其它
    private Integer type;

    public AwardItem() {

    }

    public AwardItem(String name, String color) {
        this.name = name;
        this.color = color;
    }

    public AwardItem(String name, String color, Double prob) {
        this.name = name;
        this.color = color;
        this.prob = prob;
    }

    public AwardItem(String name, String color, Double prob, Integer type, Double amount) {
        this.name = name;
        this.color = color;
        this.prob = prob;
        this.type = type;
        this.amount = amount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public double getProb() {
        return prob;
    }

    public void setProb(double prob) {
        this.prob = prob;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
